<h2><?php __('Manage Media');?></h2>
<table class="list">
<tr>
	<th><?php echo $paginator->sort('description');?></th>
	<th><?php echo $paginator->sort('url');?></th>
	<th class="actions"><?php __('Actions');?>&nbsp;|&nbsp;<?php echo $html->link(__('Create new media', true), array('action'=>'add')); ?></th>
</tr>
<?php
$i = 0;
foreach ($cdeMultimedias as $cdeMultimedia):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
	<tr<?php echo $class;?>>
		<td>
			<?php echo $cdeMultimedia['CdeMultimedia']['description']; ?>
		</td>
		<td>
			<?php echo $cdeMultimedia['CdeMultimedia']['url']; ?>
		</td>
		<td class="actions">
			<?php echo $html->link(__('Preview', true), array('action'=>'view', $cdeMultimedia['CdeMultimedia']['id'])); ?>&nbsp;&nbsp;|&nbsp;&nbsp;
			<?php echo $html->link(__('Update', true), array('action'=>'edit', $cdeMultimedia['CdeMultimedia']['id'])); ?>&nbsp;&nbsp;|&nbsp;&nbsp;
			<?php echo $html->link(__('Delete', true), array('action'=>'delete', $cdeMultimedia['CdeMultimedia']['id']), null, sprintf(__('Are you sure you want to delete media "%s"?', true), $cdeMultimedia['CdeMultimedia']['description'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
</table>
<p><?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> <?php echo $paginator->numbers();?> <?php echo $paginator->next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?></p>
